home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
109_01
/
globals.wp
< prev
next >
Wrap
Text File
|
1985-03-09
|
1KB
|
40 lines
/*
Globals
*/
int curpag; /* current output page number (init 0) */
int newpag; /* next output page number (init 1) */
int lineno; /* next line to be printed (init 0) */
int plval; /* page length in lines (init PAGELEN) */
int m1val; /* margin before and including header */
int m2val; /* margin after header */
int m3val; /* margin after last text line */
int m4val; /* bottom margin including footer */
int bottom; /* last live line on page */
char header[MAXLINE]; /* (init '\n') */
char footer[MAXLINE]; /* (init '\n') */
char wrdbuf[INSIZE]; /* should be static in text() */
char fill; /* fill if YES (init YES) */
int lsval; /* current line spacing (init 1) */
int inval; /* current indent >= 0 (init 0) */
int rmval; /* current right margin (init PAGEWIDTH) */
int tival; /* current temporary indent (init 0) */
int ceval; /* # of lines to be centered (init 0) */
int ulval; /* # of lines to be underlined (init 0) */
char argtyp; /* '+', '-' or '0' argument type */
int outp; /* last char pos in outbuf (init 0) */
int outw; /* width of outbuf */
int outwds; /* # of words in outbuf */
char outbuf[MAXOUT]; /* lines to be filled collect here */
char dir; /* direction from which to add blanks */
char *outfile; /* buffered output file structure pointer */